package com.wxy.test1.problem1;

public class VillasFactory implements HouseFactory{
    @Override
    public House createCommonHouse() {
        return new VillasCommonHouse();
    }

    @Override
    public House createMediumHouse() {
        return new VillasMediumHouse();
    }

    @Override
    public House createSplendidHouse() {
        return new VillasSplendidHouse();
    }
}
